<?php

namespace App\Models;

use Laratrust\Models\LaratrustPermission;

class Permission extends LaratrustPermission
{
      protected $fillable = [
          'name',
          'display_name',
          'pid',
          'description'
      ];
    //
    public function children(){
        return $this->hasMany(self::class, 'pid', 'id');
    }

}
